package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 实训学员对象 sys_train_student
 * 
 * @author ruoyi
 * @date 2025-01-06
 */
public class SysTrainStudent extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    @Excel(name = "ID")
    private Long studentId;

    /** 姓名 */
    @Excel(name = "姓名")
    private String studentName;

    /** 手机号 */
    @Excel(name = "手机号")
    private String phone;

    /** 照片 */
    @Excel(name = "照片")
    private String photo;

    /** 性别（0男 1女 2未知） */
    @Excel(name = "性别", readConverterExp = "0=男,1=女,2=未知")
    private String sex;

    /** 城市 */
    @Excel(name = "城市")
    private String city;

    /** ID */
    @Excel(name = "ID")
    private Long trainId;

    /** 到店时间 */
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    @Excel(name = "到店时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date comeTime;

    /** 现实训门店 */
    @Excel(name = "现实训门店")
    private Long storeId;

    /** 所属班级 */
    @Excel(name = "所属班级")
    private Long roomId;

    /** 调店时间 */
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    @Excel(name = "调店时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date adjustTime;

    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    @Excel(name = "流失时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date lostTime;

    @Excel(name = "所属课程")
    private String feeType;

    /** 原实训门店 */
    @Excel(name = "原实训门店")
    private Long oldStoreId;

    /** 状态（0在岗1请假2调店3流失） */
    @Excel(name = "状态", readConverterExp = "0=在岗1请假2调店3流失")
    private String status;

    public void setStudentId(Long studentId) 
    {
        this.studentId = studentId;
    }

    public Long getStudentId() 
    {
        return studentId;
    }

    public void setStudentName(String studentName) 
    {
        this.studentName = studentName;
    }

    public String getStudentName() 
    {
        return studentName;
    }

    public void setPhone(String phone) 
    {
        this.phone = phone;
    }

    public String getPhone() 
    {
        return phone;
    }

    public void setPhoto(String photo) 
    {
        this.photo = photo;
    }

    public String getPhoto() 
    {
        return photo;
    }

    public void setSex(String sex) 
    {
        this.sex = sex;
    }

    public String getSex() 
    {
        return sex;
    }

    public void setCity(String city) 
    {
        this.city = city;
    }

    public String getCity() 
    {
        return city;
    }

    public void setTrainId(Long trainId) 
    {
        this.trainId = trainId;
    }

    public Long getTrainId() 
    {
        return trainId;
    }

    public void setComeTime(Date comeTime) 
    {
        this.comeTime = comeTime;
    }

    public Date getComeTime() 
    {
        return comeTime;
    }

    public void setStoreId(Long storeId) 
    {
        this.storeId = storeId;
    }

    public Long getStoreId() 
    {
        return storeId;
    }

    public void setRoomId(Long roomId)
    {
        this.roomId = roomId;
    }

    public Long getRoomId()
    {
        return roomId;
    }

    public void setLostTime(Date lostTime)
    {
        this.lostTime = lostTime;
    }

    public Date getLostTime()
    {
        return lostTime;
    }

    public void setAdjustTime(Date adjustTime)
    {
        this.adjustTime = adjustTime;
    }

    public Date getAdjustTime() 
    {
        return adjustTime;
    }

    public void setFeeType(String feeType)
    {
        this.feeType = feeType;
    }

    public String getFeeType()
    {
        return feeType;
    }

    public void setOldStoreId(Long oldStoreId) 
    {
        this.oldStoreId = oldStoreId;
    }

    public Long getOldStoreId() 
    {
        return oldStoreId;
    }

    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("studentId", getStudentId())
            .append("studentName", getStudentName())
            .append("feeType", getFeeType())
            .append("phone", getPhone())
            .append("photo", getPhoto())
            .append("sex", getSex())
            .append("city", getCity())
            .append("trainId", getTrainId())
            .append("comeTime", getComeTime())
            .append("storeId", getStoreId())
            .append("roomId", getRoomId())
            .append("adjustTime", getAdjustTime())
            .append("lostTime", getLostTime())
            .append("oldStoreId", getOldStoreId())
            .append("status", getStatus())
            .toString();
    }
}
